package com.vcc.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.vcc.data.entity.EnterpriseManager;
import com.vcc.data.mapper.EnterpriseManagerMapper;
import com.vcc.service.service.EnterpriseManagerService;
import org.springframework.stereotype.Service;

@Service
public class EnterpriseManagerServiceImpl extends ServiceImpl<EnterpriseManagerMapper, EnterpriseManager> implements EnterpriseManagerService {
    @Override
    public Boolean removeByEnterpriseCertInfoId(Long enterpriseCertInfoId) {
        return remove(queryChain().eq(EnterpriseManager::getEnterpriseCertInfoId, enterpriseCertInfoId));
    }
}
